package com.luguangtao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
@EnableFeignClients
public class RibbonApp1 {
    public static void main(String[] args) {
        SpringApplication.run(RibbonApp1.class);
    }

    @RequestMapping("testHelth1")
    public String health(){
        System.out.println("第一个健康的服务");
        return "health--->ok";
    }
}
